package day4.zuoye;

public class Test05 {
    public static void main(String[] args) {
        int i,sum=0;
        for(i=0;i<=1000;i++){
                sum+=i;
            }
        System.out.println(sum);
        }
    }
